-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Addresses #722 Configure continuous integration for iD #201
Conversation
…nd tests on any push to any branch.
This is not what causes the tests to fail (#195). With this in place we'll learn earlier that tests are failing. |
@@ -5,9 +5,8 @@ name: build | |||
|
|||
on: | |||
push: | |||
branches: [ main, develop ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should build for both the push and PR triggers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An empty push:
builds for any branch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That’s what I figured too, but the push build isn’t running for this PR for some reason.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's run three times: https://github.com/OpenHistoricalMap/iD/actions/workflows/build.yml
pull_request: | ||
branches: [ main, develop ] | ||
branches: [ staging, release ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For what it’s worth, the upstream repository doesn’t even have a main branch. staging would be our analogue to its develop branch. We won’t ever open a PR targeting the release branch, so that part will never run.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
release
came up in the discussion about why temaki sprites weren't being committed so I left it in as a reminder to myself to try and understand the upstream flow.
I merged this into |
Changing the config so that a push to any branch or a PR to
staging
orrelease
kicks off a build.